import { Service } from 'boot/axios'

// 获取订单信息
export function getOrderInfoApi <T = any>(data: any) {
  return Service<T>({
    url: 'merchant/getUrlOrderInfo',
    method: 'post',
    data
  })
}
// 订单推送
export function approveToPushApi <T = any>(data: any) {
  return Service<T>({
    url: 'merchant/approveToPush',
    method: 'post',
    data,
    diyError: true,
  })
}
